home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / B-C / Color Window Demo / globals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-30  |  1.1 KB  |  26 lines  |  [TEXT/KAHL]

  1. #include "my color.h"
  2.  
  3. /* global variables, most of these are artifacts from the orginal "showoff" code */
  4.  
  5. MenuHandle    myMenus[menuCount];    /*handles to the menus*/
  6. Rect        dragRect;             /*rectangle used to mark boundaries for dragging window*/
  7. Rect        screenRect;            /*to hold screenbits.bounds */
  8. Rect        txRect;                /*rectangle for text in application window*/
  9. TEHandle    textH;                /*handle to Textedit record*/
  10. Boolean        extendedCH;            /*true if user is Shift-clicking*/
  11. Boolean        doneFlag;            /*true if user has chosen Quit Item*/
  12. EventRecord    myEvent;            /*information about an event*/
  13. CWindowRecord    wRecord;        /*information about the application window*/
  14. CWindowPtr    myWindow;            /*pointer to wRecord*/
  15. CWindowPeek    myWinPeek;            /*another pointer to wRecord*/
  16. CWindowPtr    whichWindow;        /*window in which mouse button was pressed*/
  17. Rect        nextWRect ;            /*portRect for next window to be opended*/
  18. long        nextWNum;            /*number of next window (for title)*/
  19. CGrafPtr    savedPort;            /*pointer to preserve GrafPort*/
  20. Boolean        menusOK;            /*for disabling menu items*/
  21. long        scrapErr;
  22. short        scrCopyErr;
  23.  
  24.  
  25. CTabHandle        new_color_handle;
  26.